package com.linkoog.devtools.http.toolwindow.workbenche.left.http_service.node;

import com.linkoog.devtools.http.HttpPluginIcons;
import com.linkoog.devtools.http.raw_index.HttpServiceClass;
import com.linkoog.devtools.intellij.ui.tree.TreeBaseNode;
import com.linkoog.devtools.utils.ThemeUtils;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

public class ClassTreeNode extends TreeBaseNode {

    @Getter
    private final HttpServiceClass httpServiceClass;

    public ClassTreeNode(@NotNull HttpServiceClass httpServiceClass,  @NotNull String name, String description) {
        super(name, ThemeUtils.isDark() ? HttpPluginIcons.HttpService.CLASS_DARK : HttpPluginIcons.HttpService.CLASS, description);
        this.httpServiceClass = httpServiceClass;
    }



}
